package cn.humaohua.study.yanmo_design_pattern.ch07;

public class Schema2 implements AbstractFactory {
    private int pins = 939;

    @Override
    public CPUApi createCPUApi() {
        return new IntelCPU(pins);
    }

    @Override
    public MainboardApi createMainboardApi() {
        return new GAMainboard(pins);
    }

}
